﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace bitzhuwei.FeedingFrenzy.WorldModel
{
    public abstract class GameObject
    {
        /// <summary>
        /// Update this object's 
        /// </summary>
        ///// <param name="elapsedTime">elasped time from last update</param>
        public abstract void Update();

        public GameWorld World { get; set; }
        /// <summary>
        /// Draw object with opengl
        /// </summary>
        /// <param name="gl"></param>
        public abstract void Draw(SharpGL.OpenGL gl);
        
        private bool _autoMove = true;
        public bool AutoMove { get { return _autoMove; } set { _autoMove = value; } }
    }
}
